import { Outlet,NavLink } from "react-router-dom";

function Admin() {
  return ( <div>
    <h2>Admin</h2>
    <NavLink to="dash">dash</NavLink> | 
    <NavLink to="">自定义</NavLink> 
    <Outlet/>
  </div> );
}

export default Admin;